package com.roc.pojo;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;


@Entity
@Table(name = "YJ_POS_BATCH_INFO")
public class YjPosBatchInfo implements Serializable  {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3587862939566483942L;
	
	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "posBatchInfoSeq")
	@SequenceGenerator(name = "posBatchInfoSeq", sequenceName = "YJ_POS_BATCH_INFO_SEQ")
	private Long  id; // id
	
	@Column(name = "BATCH_NO")
	private String  batchNo; // 批次号(日期 + _ + 随机数)
	
	@Column(name = "SERIAL_NUM")
	private String  serialNum; // 终端sn序列号
	
	@Column(name = "POS_BRAND")
	private String  posBrand; // 品牌
	
	@Column(name = "POS_TYPE")
	private String  posType; // 机型
	
	@Column(name = "POS_NAME")
	private String  posName; // 名称
	
	@Column(name = "DT_CREATE")
	private Date  dtCreate; // 创建时间
	
	@Column(name = "DT_LASTMOD")
	private Date  dtLastmod; // 更新时间

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getBatchNo() {
		return batchNo;
	}

	public void setBatchNo(String batchNo) {
		this.batchNo = batchNo;
	}

	public String getSerialNum() {
		return serialNum;
	}

	public void setSerialNum(String serialNum) {
		this.serialNum = serialNum;
	}

	public String getPosBrand() {
		return posBrand;
	}

	public void setPosBrand(String posBrand) {
		this.posBrand = posBrand;
	}

	public String getPosType() {
		return posType;
	}

	public void setPosType(String posType) {
		this.posType = posType;
	}

	public String getPosName() {
		return posName;
	}

	public void setPosName(String posName) {
		this.posName = posName;
	}

	public Date getDtCreate() {
		return dtCreate;
	}

	public void setDtCreate(Date dtCreate) {
		this.dtCreate = dtCreate;
	}

	public Date getDtLastmod() {
		return dtLastmod;
	}

	public void setDtLastmod(Date dtLastmod) {
		this.dtLastmod = dtLastmod;
	}

}
